package com.dawn.module.hospital.controller.app.inhospital.vo;

import com.dawn.module.hospital.controller.app.base.vo.ReqVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/7 22:03
 */
@Schema(description = "住院预交-创建订单 APP - Request VO")
@Data
@ToString(callSuper = true)
public class InHospitalPreCreateReqVO extends ReqVO {

    @Schema(description = "订单名称")
    private String orderName;

    @NotBlank(message = "用户标识userId不能为空")
    @Schema(description = "userId")
    private String userId;

    @NotBlank(message = "openid不能为空")
    @Schema(description = "openid")
    private String openid;

    //    @NotEmpty(message = "本地档案ID不能为空")
    @Schema(description = "本地档案ID")
    private Long pId;

    @NotBlank(message = "证件号码不能为空")
    @Schema(description = "证件号码")
    private String cardNo;

    @Schema(description = "性别")
    private String sex;

    @Schema(description = "住院号")
    private String inPatientNo;

    @Schema(description = "住院主页ID")
    private String inPatientId;

    @Schema(description = "入院日期")
    private String inDate;

    @Schema(description = "床号")
    private String bedNo;

    @Schema(description = "押金余额")
    private String prePayBalance;

    @Schema(description = "住院余额")
    private String inBalance;

    @Schema(description = "总费用")
    private String totalCost;

    @NotBlank(message = "订单金额不能为空")
    @Schema(description = "订单金额")
    private String amount;

    @Schema(description = "科室")
    private String departmentId;

    @Schema(description = "科室")
    private String departmentName;

    @Schema(description = "医生")
    private String doctorName;

    @Schema(description = "门诊号")
    private String clinicNo;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "支付方式")
    private String payType;

    @NotBlank(message = "应用类型不能为空")
    @Schema(description = "应用类型",example="WX")
    private String appType;

}
